package com.oa.s.data.sys.jdbc;

import com.oa.s.data.sys.domain.Login;
import com.oa.s.data.sys.domain.SysOrg;
import com.oa.s.data.sys.domain.SysUser;

public class SysSql {
	public static String getLoginInfo = "select su." + SysUser.userName
			+ ",so." + SysOrg.orgName + " from " + SysUser.sysUser + " su,"
			+ SysOrg.sysOrg + " so WHERE su." + SysUser.orgId + " = so."
			+ SysOrg.orgId + " and su." + Login.loginName + "=? and su."
			+ Login.loginPwd + "=?";
}
